package rf.vir

class User {
	String email
	String password
	Date registrationDate

	static hasMany = [tickets:Ticket]

    static constraints = {
		password(blank:false, length:5..15)
		email(blank:false, unique: true)
		registrationDate(blank:false)
    }
}
